//
//  SecondAmoutCell.m
//  DebugDemo
//
//  Created by XFB on 2018/11/28.
//  Copyright © 2018年 ZhouCheng. All rights reserved.
//

#import "SecondAmoutCell.h"
#import "AmountModel.h"

@interface SecondAmoutCell ()

@property (weak, nonatomic) IBOutlet UILabel *amountNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *amountNumberLabel;
@property (weak, nonatomic) IBOutlet UILabel *amountLabel;

@end

@implementation SecondAmoutCell

- (void)setTerminalList:(AmountModel_TerminalList *)terminalList
{
    _terminalList = terminalList;
    
    self.amountNameLabel.text = terminalList.terminalName;
    self.amountNumberLabel.text = terminalList.sn;
    self.amountLabel.text = [NSString stringWithFormat:@"+%ld元", terminalList.amount];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.contentView.backgroundColor = RGB(250, 250, 250);
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
